import React, { Component } from 'react'

import { BrowserRouter as Router, Route } from 'react-router-dom'
import Login from './pages/Login'
import Logout from './pages/Layout'

import './App.css'
class App extends Component {
    render () {
        return (
            <Router>
                <div className='app'>
                    <Route path='/home' component={Logout}></Route>
                    <Route path='/login' component={Login}></Route>
                </div>
            </Router>
        )
    }
}

export default App